package com.scut.online_black_market.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PostErrandInfo {
    @ApiModelProperty(value="发布者学号",name = "proposerNumber",example = "201812345678")
    private String proposerNumber;

    @ApiModelProperty(value="起始地点",name = "startPlace",example = "A1教学楼")
    private String startPlace;

    @ApiModelProperty(value="结束地点",name = "endPlace",example = "C10教学楼")
    private String endPlace;

    @ApiModelProperty(value="重量",name = "weight",example = "3.00")
    private float weight;

    @ApiModelProperty(value="价格",name = "price",example = "10.00")
    private float price;

    @ApiModelProperty(value = "备注",name="note",example = "麻烦快点，谢谢")
    private String note;
}
